﻿<!DOCTYPE html>
<html>
<head>
    <link href="../../Content/my.css" rel="stylesheet" />
    <title>{$name$},{$state$}</title>
    <meta content="{$tag$} , {$category$}" />
    <meta content="{$url$}" />
    <meta charset="utf-8" />
    <meta name="keywords" content="{$name$},{$name$}下载,{$name$}高清下载,{$name$}迅雷下载">
</head>
<body ng-app="myApp" ng-controller="userCtrl">
    <!--头信息-->
    <DIV class="clearfloat" id="header">
        <DIV id="header_l">
            <DIV class="fl" id="logo">
                <A title="" href="/">
                    <IMG alt=""
                         src="../../Content/logo.png">
                </A>
            </DIV>
            <DIV class="ad-pc" style="float: right;">
                头部广告
            </DIV>
        </DIV>

    </DIV>

    <!--菜单-->
    <DIV class="nav head-nav avt clearfloat">
        <LI ng-repeat="category in categorys"><A href="/category/{{category.CategoryUrl}}">{{category.CategoryName}}</A></LI>

    </DIV>

    <DIV class="clearfloat" id="page">
        <DIV id="center">
            <A href="/">首页</A> &gt; {$category$} &gt; 文章正文
            <DIV class="col">
                <DIV class="post" id="post-73798">
                    <H2>《{$name$}》高清迅雷下载</H2>
                    <DIV class="postmeat ac">
                        更新日期：{$updatetime$} | 状态：<SPAN style="color: rgb(204, 0, 0); font-size: 12px;">{$state$}</SPAN>
                        | 评论：<A title="欢迎您发表影评"
                                href="/view/{$seed$}.html#comments">
                            <FONT color="#cc0000"><SPAN class="ds-thread-count" data-replace="1" data-thread-key="{$seed$}">0</SPAN></FONT>
                        </A>
                    </DIV>
                    <DIV class="ad-pc">
                        <DIV id="adsad">
                            <DIV id="adsad3001">
                                广告位置1
                            </DIV>
                            <DIV id="adsad3002">
                                广告位置2
                            </DIV>
                        </DIV>
                    </DIV>
                    <DIV class="entry">
                        <img alt="{$name$}" src="{$imgurl$}">
                        {$contents$}
                    </DIV>

                    <DIV class="postfooter">
                        <DIV>
                            本文标签：{$tag$}
                        </DIV>
                        <DIV>
                            所属分类：{$category$}
                        </DIV>
                        <DIV>
                            链接地址：<A href="/View/{$seed$}.html">http://www.nidewanghan.com/view/{$seed$}.html</A>
                        </DIV>
                        <DIV>
                            下载方法：<A href="/"
                                    target="_blank">如何下载？如何选择资源？请查看下载须知</A>
                        </DIV>
                        <DIV>
                            <SPAN style="color: rgb(255, 0, 0);">出错提醒：由于迅雷版权限制导致资源无法下载请尝试迅雷5.8版、QQ旋风、µTorrent</SPAN>
                        </DIV>
                        <DIV class="entry"></DIV>
                    </DIV>
                    <DIV class="ad-pc">
                        广告位置3
                    </DIV>
                    评论位置
                    <A name="#comments"></A>
                </DIV>
            </DIV>
        </DIV>

        <DIV id="left">
            <H2>电影标签</H2>
            <UL>
                <LI ng-repeat="tag in tags"><A href="/tag/{{tag.TagUrl}}/">{{tag.TagName}}</A></LI>
            </UL>
        </DIV>
        <DIV id="right">
            <form target="_blank" class="ng-pristine ng-valid">
                <input type="hidden" autocomplete="off">
                <input name="code" class="feed-mail-input" id="code" onfocus="if(this.value=='请输入关键词') this.value='';" onblur="if(this.value=='') this.value='请输入关键词';" type="text" value="请输入关键词">
                <input class="feed-mail-btnbd" id="searchsubmit" type="button" onclick="search()" value="百度搜索">
            </form>
            <script>
                    function search() {
                        var searchUrl = "/search/" + document.getElementById("code").value;
                        window.open(searchUrl);
                    }
            </script>
            <DIV class="listad">
                右边的广告1
            </DIV>
            <DIV class="list">
                <H3>热门电影推荐</H3>
                <iframe width="100%" height="595" frameborder="0" scrolling="no" src="/Hot/"></iframe>
            </DIV>
            <DIV class="listad">
                右边的广告2
            </DIV>
            <DIV class="list">
                <H3>本周热评文章</H3>
                <UL class="ds-top-threads" data-num-items="10" data-range="weekly"></UL>
            </DIV>
            <DIV class="listad">
                右边的广告3
            </DIV>
            <DIV class="list">
                <H3>最新评论列表</H3>
                <UL class="ds-recent-comments" data-num-items="6" data-excerpt-length="70"
                    data-show-admin="1" data-show-title="0" data-show-time="1"
                    data-show-avatars="1"></UL>
            </DIV>
            <DIV class="listad">
                右边的广告4
            </DIV>
        </DIV>
        <DIV class="ad-pc">
            底部广告位置!!!
            底部广告位置!!!
            底部广告位置!!!
            底部广告位置!!!
            底部广告位置!!!
        </DIV>
    </DIV>
    <script src="/Scripts/angular.js"></script>
    <script>
        angular.module('myApp', []).controller('userCtrl', function ($scope, $http) {
            $http.get("/api/Tag/GetAll").then(
                function (response) {
                    $scope.tags = response.data;
                });
            $http.get("/api/Category/GetAll").then(
               function (response) {
                   $scope.categorys = response.data;
               });
        })
    </script>
</body>

</html>
